﻿@page
@model LoginModel

@{
    ViewData["Title"] = "Log in";
    Layout = null;
}
<link rel="stylesheet" href="https://unpkg.com/swiper@8/swiper-bundle.min.css" />
<script src="https://unpkg.com/swiper@8/swiper-bundle.min.js"> </script>
<link href="~/css/login.css" rel="stylesheet" />
    <div class="box">
        <aside>
        <div class="swiper mySwiper">
            <div class="swiper-wrapper">
                <div class="swiper-slide">
                    <img src="/images/bgc.jpg" />
                </div>
                <div class="swiper-slide">
                    <img src="/images/c0.jpg" />
                </div>
                <div class="swiper-slide">
                    <img src="/images/cherry.jpg" />
                </div>
            </div>
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
            <div class="swiper-pagination"></div>
        </div>
        </aside>
         <section>
            <form id="account" method="post" >
                <h1>学生宿舍管理系统</h1>
            <h5>WELCOME TO SDMS</h5>
                <div class="form-floating">
                <label asp-for="Input.Email" class="form-label" >邮箱：</label>
                <input asp-for="Input.Email" class="form-control" autocomplete="username" aria-required="true" placeholder="请输入邮箱" />
                </div>
            <div><span asp-validation-for="Input.Email" class="text-danger"></span></div>
                <div class="form-floating">
                <label asp-for="Input.Password" class="form-label" placeholder="请输入邮箱">密码：</label>
                <input asp-for="Input.Password" class="form-control" autocomplete="current-password" aria-required="true" placeholder="请输入密码" value="Aa123456." />
                </div>
            <div>          <span asp-validation-for="Input.Password" class="text-danger"></span></div>
            <footer>
                <a>忘记密码？</a>
                <a href="/Identity/Account/Register">还未注册？</a>
            </footer>
            <div>
                <div asp-validation-summary="ModelOnly" class="text-danger"></div>

            </div>
                <div style="position:relative;">
                    <button id="login-submit" type="submit" class="w-100 btn btn-lg btn-primary">Log in</button>
                </div>
            </form>
    </section>
    </div>
<script src="~/js/login.js"></script>
@section Scripts {
    <partial name="_ValidationScriptsPartial" />
}
